package com.simple.question;

import java.io.Serializable;

public class QuestionFile implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	/**
	 * 内部资源
	 */
	public static final int QUESTION_FILE_SOURCE_INNER = 1;
	/**
	 * 外部资源
	 */
	public static final int QUESTION_FILE_SOURCE_OUTER = 2;
	
	private long id;
	
	private long questionId;
	
	/** excel文件中的{{***}},<sound>***</sound>,<视频>*</视频>中的文件名*/
	private String name;
	
	private long fileId;
	
	private int fileType;
	
	/** 区分文件来来自内容列 还是声音列 */
	private int source;
	
	/** 声音列的起始行号  */
	private int startNo;
	
	/** 声音列的结束行号  */
	private int endNo;
	
	/** 不发音在试题中的行号 */
	private String noSound;
	
	/** 临时属性：文件名称 */
	private String fileName;
	private String url;
	private String fullUrl;
	
	/** 临时变量：试题的资源类别Id */
	private Integer resourceTypeId;


	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public long getQuestionId() {
		return questionId;
	}

	public void setQuestionId(long questionId) {
		this.questionId = questionId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public long getFileId() {
		return fileId;
	}

	public void setFileId(long fileId) {
		this.fileId = fileId;
	}

	public int getFileType() {
		return fileType;
	}

	public void setFileType(int fileType) {
		this.fileType = fileType;
	}
	
	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	
	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public String getFullUrl() {
		return fullUrl;
	}

	public void setFullUrl(String fullUrl) {
		this.fullUrl = fullUrl;
	}
	
	public int getSource() {
		return source;
	}

	public void setSource(int source) {
		this.source = source;
	}

	public int getStartNo() {
		return startNo;
	}

	public void setStartNo(int startNo) {
		this.startNo = startNo;
	}

	public int getEndNo() {
		return endNo;
	}

	public void setEndNo(int endNo) {
		this.endNo = endNo;
	}

	public String getNoSound() {
		return noSound;
	}

	public void setNoSound(String noSound) {
		this.noSound = noSound;
	}

	public Integer getResourceTypeId() {
		return resourceTypeId;
	}

	public void setResourceTypeId(Integer resourceTypeId) {
		this.resourceTypeId = resourceTypeId;
	}
}
